package com.tenton.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Date: 2021/1/2
 * @Author: Tenton
 * @Description: CommodityType实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "商品类型对象", description = "")
public class CommodityType implements Serializable {
    @ApiModelProperty(value = "主键")
    private int id;
    @ApiModelProperty(value = "商品类型")
    private String comType;
    @ApiModelProperty(value = "创建人姓名")
    private String createName;
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    @ApiModelProperty(value = "修改人姓名")
    private String updateName;
    @ApiModelProperty(value = "修改日期")
    private Date updateTime;

    public CommodityType(String comType, String createName, Date createTime) {
        this.comType = comType;
        this.createName = createName;
        this.createTime = createTime;
    }
}